package cc.jinglupeng.wechat;

import cc.jinglupeng.wechat.bean.AccessToken;
import cc.jinglupeng.wechat.bean.JSAPITicket;

public interface WechatCache {

	public AccessToken getAccessToken(String appId);

	public void cacheAccessToken(String appId, AccessToken accessToken);

	public JSAPITicket getJSAPITicket(String appId);

	public void cacheJSAPITicket(String appId, JSAPITicket ticket);

}
